extend partials/layout.pug

block title
  title 开始

block main

  //- 导入模板
  //- include ./partials/header.pug  
  .starter#app(data-before="一片空白", data-after="是为了重新开始。") {{title}}
    ul 
      li(v-for="v in list") {{v.name}}

block individual-script
  script.
    var vm = new Vue({
        el: "#app",
        data: {
          title: "测试vue",
          list: [{name: "1"}, {name: "2"}],
        }
      });